package com.hcc.unitTest.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 主播信息表
 *
 * @author xuyao 15268106731@163.com
 * @since 1.0.0 2023-07-29
 */
@Data
@ApiModel(value = "主播信息表")
public class AnchorDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主播id")
    private Long id;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "入职时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date hiredate;
    /**
     * 主播状态
     * 0在职
     * 9离职
     */
    @ApiModelProperty(value = "主播状态")
    private Integer status;
    @ApiModelProperty(value = "")
    private Integer logicDelete;

    @ApiModelProperty(value = "")
    private Long modifier;

    @ApiModelProperty(value = "")
    private Long creator;

    @ApiModelProperty(value = "")
    private Date modifiedTime;

    @ApiModelProperty(value = "")
    private Date createTime;
}